import random

n = int(input())

while n < 1:
    n = int(input())

a = 0
c = 0
while a < n:
    a += 1
    x = random.randint(-100, 100)
    y = random.randint(-100, 100)
    if x >= -7 and y >= -8 and x <= 5 and y <= 5:
        c += 1
        #print(x), print(",",y)
    #print(x), print(",",y)
print("выстрелы ",n)
print("поподания ",c)
    
